Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632451 Views

Latest files of /cody/frontendcharm/Mini-Projects/LOADERS/Twisted Torus Loader Using Three.js

style.css cody/frontendcharm/Mini-Projects/LOADERS/Twisted Torus Loader Using Three.js/style.css
124 Views
0 Comments
body {
overflow: hidden;
margin: 0;
}

index.html cody/frontendcharm/Mini-Projects/LOADERS/Twisted Torus Loader Using Three.js/index.html
261 Views
0 Comments
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Twisted Torus Loader Using Three.js</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
script.js cody/frontendcharm/Mini-Projects/LOADERS/Twisted Torus Loader Using Three.js/script.js
186 Views
0 Comments
import * as THREE from "three";
import { ParametricGeometry } from "three/addons/geometries/ParametricGeometry.js";
import { OrbitControls } from "three/addons/controls/OrbitControls.js";

console.clear();

var scene = new THREE.Scene();
scene.background = new THREE.Color("#151515");